stringlist: Remove n_additions argument from gtk_string_list_splice()
authorBenjamin Otte <otte@redhat.com>
Tue, 30 Jun 2020 17:36:51 +0000 (19:36 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 5 Jul 2020 00:59:21 +0000 (02:59 +0200)
commitc4e4de36f60881a8f29287dc612f2a8e055d12e3
treec161c3a5f5793e418a873994c99008bacce287e9
parent67cbb2a7d384d40f886f2211ff21afd9836d9ae4
stringlist: Remove n_additions argument from gtk_string_list_splice()

char ** arrays are null-terminated everywhere, so make sure they are in
splice(), too.

Also fix the argument to be a const char * const * like in the
constructor.
gtk/gtkstringlist.c
gtk/gtkstringlist.h
testsuite/gtk/stringlist.c